﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YasharEl.Infrastructure.Core.Personification;
using YasharEl.Infrastructure.ProcessEngine.EntityModel;

namespace YasharEl.Infrastructure.ProcessEngine.PersistenceModel.NHibernate.Tests.Support
{
    internal class ProcessParticipantEntityProxy : ProcessParticipantEntity
    {
        public ProcessParticipantEntityProxy(long participantId, string email, string lastName, string firstName)
        {
            this.ParticipantId = participantId;
            this.Email = email;
            this.UserName = new Name(firstName, "", lastName);
        }
    }
}
